package org.itstack.demo.design;

import com.alibaba.fastjson.JSON;
import org.itstack.demo.design.mq.POPOrderDelivered;

import java.lang.reflect.Member;

/**
 * @Author: fanYuLe
 * @CreateTime: 2023-12-15  17:13
 * @Description:
 */
public class POPOrderDeliveredService {
    public void onMessage(String message){
        POPOrderDelivered mq = JSON.parseObject(message, POPOrderDelivered.class);
        mq.getuId();
        mq.getOrderId();
        mq.getOrderTime();

        //...处理自己的业务
    }
}
